crypto/tls.keyShare.data (field)
18 uses
crypto/tls (current package)
common.go#L161: data []byte
handshake_client.go#L170: {group: x25519Kyber768Draft00, data: append(keyShareKeys.ecdhe.PublicKey().Bytes(),
handshake_client.go#L172: {group: X25519, data: keyShareKeys.ecdhe.PublicKey().Bytes()},
handshake_client.go#L182: hello.keyShares = []keyShare{{group: curveID, data: keyShareKeys.ecdhe.PublicKey().Bytes()}}
handshake_client_tls13.go#L343: hello.keyShares = []keyShare{{group: curveID, data: key.PublicKey().Bytes()}}
handshake_client_tls13.go#L484: ecdhePeerData := hs.serverHello.serverShare.data
handshake_client_tls13.go#L490: ecdhePeerData = hs.serverHello.serverShare.data[:x25519PublicKeySize]
handshake_client_tls13.go#L506: ciphertext := hs.serverHello.serverShare.data[x25519PublicKeySize:]
handshake_messages.go#L288: exts.AddBytes(ks.data)
handshake_messages.go#L613: !readUint16LengthPrefixed(&clientShares, &ks.data) ||
handshake_messages.go#L614: len(ks.data) == 0 {
handshake_messages.go#L794: exts.AddBytes(m.serverShare.data)
handshake_messages.go#L954: !readUint16LengthPrefixed(&extData, &m.serverShare.data) {
handshake_server_tls13.go#L223: ecdhData := clientKeyShare.data
handshake_server_tls13.go#L241: hs.hello.serverShare = keyShare{group: selectedGroup, data: key.PublicKey().Bytes()}
handshake_server_tls13.go#L253: ciphertext, kyberShared, err := kyberEncapsulate(clientKeyShare.data[x25519PublicKeySize:])
handshake_server_tls13.go#L259: hs.hello.serverShare.data = append(hs.hello.serverShare.data, ciphertext...)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |